import { prop } from '@typegoose/typegoose';
import { EntityModel } from '@midwayjs/typegoose';

@EntityModel()
export class LogsFlat {

    @prop(String)
    public project_name: string;

    @prop(String)
    public logs_name: string;

    @prop(String)
    public category: string;

    @prop(String)
    public time: string;

    @prop(String)
    public date: Date;

    @prop(String)
    public type: string;

    @prop(String)
    public row: number;

    @prop(String)
    public filePath: string;

    @prop(String)
    public logs: string;
}
